﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminLayout.master" AutoEventWireup="true" CodeFile="AdminProductsIpodAddNew.aspx.cs" Inherits="Admin_AdminProductsIpodAddNew" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 20px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table class="style1">
        <tr>
            <td colspan="2">
                <h2>
                    Insert Products Ipod
                </h2>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblID" runat="server" Text="ID"></asp:Label>
                :</td>
            <td>
                <asp:TextBox ID="txtID" runat="server">IPod-</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblName" runat="server" Text="Name"></asp:Label>
                :
            </td>
            <td>
                <asp:TextBox ID="txtName" runat="server">IPod-</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblType" runat="server" Text="Type"></asp:Label>
                :
            </td>
            <td>
                <asp:TextBox ID="txtType" runat="server" Enabled="False" 
                    ontextchanged="txtType_TextChanged">IPod</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblPrice" runat="server" Text="Price"></asp:Label>
                :</td>
            <td>
                <asp:TextBox ID="txtPrice" runat="server" Height="20px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblImg" runat="server" Text="IMG"></asp:Label>
                :
            </td>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style2" colspan="2">
                <asp:Label ID="lblStatus" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnAddNew" runat="server" onclick="btnAddNew_Click" 
                    Text="Add New" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="2">
                <table class="style1">
                    <tr>
                        <td colspan="2">
                            <h2>
                                Insert Products Details Ipod</h2>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            ID:</td>
                        <td>
                            <asp:DropDownList ID="DropDownList2" runat="server" 
                                DataSourceID="SqlDataSource2" DataTextField="DetailsID" 
                                DataValueField="DetailsID" Height="16px" Width="125px">
                            </asp:DropDownList>
                            <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                                ConnectionString="<%$ ConnectionStrings:AppleShopConnectionString %>" 
                                SelectCommand="SELECT [DetailsID] FROM [ProductDetails]">
                            </asp:SqlDataSource>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Details:</td>
                        <td>
                <asp:TextBox ID="txtDetails" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Images:</td>
                        <td>
                <asp:FileUpload ID="FileUpload2" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                <asp:Label ID="lblStatus0" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Button ID="btnNewDetails" runat="server" onclick="btnNewDetails_Click" 
                                Text="Add New" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

